package baseFx.tests.job;

import baseFx.common.context.spring.SpringApplicationContext;
import baseFx.job.TimeJob;

import java.util.Scanner;

public class Run {
    public static void main(String[] args) {
        SpringApplicationContext context = new SpringApplicationContext();
        context.refresh();
        TimeJob.init(context);
        TimeJob.loadFromPackage(Run.class.getPackage().getName());
    }
}
